package com.zzyl.mapper;

import com.zzyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description MemberMapper
 * @Author loe
 * @Date 2024-07-11
 */

@Mapper
public interface MemberMapper {

    /**
     * 新增
     * @param member
     */
    void insertMember(Member member);

    /**
     * 更新
     * @param member
     */
    void update(Member member);

    /**
     * 根据openId查询
     * @param openId
     * @return
     */
    Member selectByOpenId(String openId);

}
